import request from '@/utils/request'

export default{
  // 分页查询评论
  getListComment(current, limit, id) {
    return request({
      url: '/eduservice/comment/getCommentList/' + current + '/' + limit,
      method: 'get',
      params: { id }
    })
  },
  // 添加 评论
  addComment(commentVo) {
    return request({
      url: '/eduservice/comment/addComment',
      method: 'post',
      data: commentVo
    })
  }
}
